﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.Localization;
using Orchard.UI.Navigation;

namespace Orchard.Commerce
{
    public class MainMenu : INavigationProvider
    {
        public Localizer T { get; set; }
        public String MenuName
        {
            get { return "main"; }
        }

        public void GetNavigation(NavigationBuilder builder)
        {
            builder.Add(menu =>
                    menu.Add(T("Shop"), "4", item => item
                        .Action("Index", "Home", new { area = "Orchard.Commerce" })));
        }

    }
}